﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Entidades;
using LisBioGUIWPF.Controls.Alumno;

namespace LisBioGUIWPF.Controls
{
    /// <summary>
    /// Lógica de interacción para EncuestaControl.xaml
    /// </summary>
    public partial class EncuestaControl : UserControl
    {
        private LisBio lisBio;
        private AlumnoData.Operacion oper;

        public EncuestaControl(LisBio lisBio, AlumnoData.Operacion oper)
        {
            InitializeComponent();
            this.lisBio = lisBio;
            this.oper = oper;
        }

        private void encuesta_Click(object sender, RoutedEventArgs e)
        {
            AlumnoData alumnoData = new AlumnoData(lisBio, AlumnoData.Operacion.NUEVO, null);
            alumnoData.txtNombre.Focus();
            this.lisBio.borderHuella.Child = alumnoData;
        }

    }
}
